Skip to content

feat: add route and menu support for axis tick properties#12133

Merged
kgryte merged 9 commits into
stdlib-js:refactor/plotfrom
gururaj1512:view-axis-tick-_
May 15, 2026
Merged

feat: add route and menu support for axis tick properties#12133
kgryte merged 9 commits into
stdlib-js:refactor/plotfrom
gururaj1512:view-axis-tick-_

Conversation

@gururaj1512
Copy link
Copy Markdown
Member

Resolves None

Description

What is the purpose of this pull request?

This pull request:

  • feat: add route and menu support for axis tick properties
Screen.Recording.2026-05-15.at.2.11.59.AM.mov

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

  • Resolves None

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label May 14, 2026
@kgryte kgryte added Feature Issue or pull request for adding a new feature. and removed Needs Review A pull request which needs code review. labels May 14, 2026
Comment thread lib/node_modules/@stdlib/plot/base/view/lib/browser/app/editor/on_change.js Outdated
Co-authored-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
Comment thread lib/node_modules/@stdlib/plot/base/view/lib/browser/app/editor/on_change.js Outdated
Comment thread lib/node_modules/@stdlib/plot/base/view/lib/browser/app/schema/transforms/axis.js Outdated
Co-authored-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
Comment thread lib/node_modules/@stdlib/plot/base/view/lib/browser/routes/config/transforms.js Outdated
Comment thread lib/node_modules/@stdlib/plot/base/view/lib/browser/routes/config/transforms.js Outdated
Co-authored-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
var body = require( './../../../../middleware/body' );
var ok = require( './../../../../middleware/ok' );
var onError = require( './../../../../middleware/error' );
var transform = require( './../../transforms.js' ).toTickCount;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed that tickCount is a bit special in its handling, so having a dedicated transform makes sense.

Comment thread lib/node_modules/@stdlib/plot/base/view/lib/browser/routes/config/transforms.js Outdated
Co-authored-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
Comment thread lib/node_modules/@stdlib/plot/vega/editor-config/axis/lib/main.js Outdated
Co-authored-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
Comment thread lib/node_modules/@stdlib/plot/base/view/lib/browser/app/editor/on_change.js Outdated
Co-authored-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
Copy link
Copy Markdown
Member

@kgryte kgryte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. That demo is quite nice. I think we are building something really unique here.

Comment thread lib/node_modules/@stdlib/plot/base/view/lib/browser/app/schema/transforms/axis.js Outdated
Comment thread lib/node_modules/@stdlib/plot/base/view/lib/browser/app/schema/transforms/axis.js Outdated
Co-authored-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
@kgryte
Copy link
Copy Markdown
Member

kgryte commented May 15, 2026

As the CI failure is expected, I'll go ahead and merge.

@kgryte kgryte merged commit 9b9dcc5 into stdlib-js:refactor/plot May 15, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Issue or pull request for adding a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants